summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLotP1 <68976644+LotP1@users.noreply.github.com>2024-01-30 00:23:43 +0100
committerGitHub <noreply@github.com>2024-01-30 00:23:43 +0100
commit3acf35bb985ec40a8498c3e6903ec16f755a9b2e (patch)
tree8e81fde617da88bee9377680eb123adb0c1f8f8f
parentMerge pull request #12846 from german77/mii_const (diff)
downloadyuzu-3acf35bb985ec40a8498c3e6903ec16f755a9b2e.tar
yuzu-3acf35bb985ec40a8498c3e6903ec16f755a9b2e.tar.gz
yuzu-3acf35bb985ec40a8498c3e6903ec16f755a9b2e.tar.bz2
yuzu-3acf35bb985ec40a8498c3e6903ec16f755a9b2e.tar.lz
yuzu-3acf35bb985ec40a8498c3e6903ec16f755a9b2e.tar.xz
yuzu-3acf35bb985ec40a8498c3e6903ec16f755a9b2e.tar.zst
yuzu-3acf35bb985ec40a8498c3e6903ec16f755a9b2e.zip
-rw-r--r--src/core/hle/service/sockets/sockets_translate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/sockets/sockets_translate.cpp b/src/core/hle/service/sockets/sockets_translate.cpp
index aed05250c..ea0b081c2 100644
--- a/src/core/hle/service/sockets/sockets_translate.cpp
+++ b/src/core/hle/service/sockets/sockets_translate.cpp
@@ -15,6 +15,8 @@ Errno Translate(Network::Errno value) {
switch (value) {
case Network::Errno::SUCCESS:
return Errno::SUCCESS;
+ case Network::Errno::CONNREFUSED:
+ return Errno::CONNREFUSED;
case Network::Errno::BADF:
return Errno::BADF;
case Network::Errno::AGAIN: